package com.matrix.java.chap_05;

public class Ex5_32 {
    public static void main(String[] args) {
        int randomNum1 = (int) (Math.random() * 10);
        int randomNum2;
        do {
            randomNum2 = (int) (Math.random() * 10);
        } while (randomNum1 == randomNum2);
        System.out.println(randomNum1);
        System.out.println(randomNum2);
    }
}
